<cfcomponent extends="Model">
	<cffunction name="init">
		<cfscript>
			table("goals");
			belongsTo("students");

			for(column IN ListToArray("student_id,seq,target")) {
				property(name=column, defaultValue=0);
			}

			property(name="goal", defaultValue="");
			property(name="updated_by", defaultValue=SESSION.user.id);
			property(name="updated_date", defaultValue=Now());
		</cfscript>
	</cffunction>
</cfcomponent>